home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / ztrcon.z / ztrcon
Encoding:
Text File  |  2002-10-03  |  4.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ZZZZTTTTRRRRCCCCOOOONNNN((((3333SSSS))))                                                          ZZZZTTTTRRRRCCCCOOOONNNN((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ZTRCON - estimate the reciprocal of the condition number of a triangular
  10.      matrix A, in either the 1-norm or the infinity-norm
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE ZTRCON( NORM, UPLO, DIAG, N, A, LDA, RCOND, WORK, RWORK, INFO
  14.                         )
  15.  
  16.          CHARACTER      DIAG, NORM, UPLO
  17.  
  18.          INTEGER        INFO, LDA, N
  19.  
  20.          DOUBLE         PRECISION RCOND
  21.  
  22.          DOUBLE         PRECISION RWORK( * )
  23.  
  24.          COMPLEX*16     A( LDA, * ), WORK( * )
  25.  
  26. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  27.      These routines are part of the SCSL Scientific Library and can be loaded
  28.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  29.      directs the linker to use the multi-processor version of the library.
  30.  
  31.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  32.      4 bytes (32 bits). Another version of SCSL is available in which integers
  33.      are 8 bytes (64 bits).  This version allows the user access to larger
  34.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  35.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  36.      only one of the two versions; 4-byte integer and 8-byte integer library
  37.      calls cannot be mixed.
  38.  
  39. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  40.      ZTRCON estimates the reciprocal of the condition number of a triangular
  41.      matrix A, in either the 1-norm or the infinity-norm. The norm of A is
  42.      computed and an estimate is obtained for norm(inv(A)), then the
  43.      reciprocal of the condition number is computed as
  44.         RCOND = 1 / ( norm(A) * norm(inv(A)) ).
  45.  
  46.  
  47. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  48.      NORM    (input) CHARACTER*1
  49.              Specifies whether the 1-norm condition number or the infinity-
  50.              norm condition number is required:
  51.              = '1' or 'O':  1-norm;
  52.              = 'I':         Infinity-norm.
  53.  
  54.      UPLO    (input) CHARACTER*1
  55.              = 'U':  A is upper triangular;
  56.              = 'L':  A is lower triangular.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ZZZZTTTTRRRRCCCCOOOONNNN((((3333SSSS))))                                                          ZZZZTTTTRRRRCCCCOOOONNNN((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      DIAG    (input) CHARACTER*1
  75.              = 'N':  A is non-unit triangular;
  76.              = 'U':  A is unit triangular.
  77.  
  78.      N       (input) INTEGER
  79.              The order of the matrix A.  N >= 0.
  80.  
  81.      A       (input) COMPLEX*16 array, dimension (LDA,N)
  82.              The triangular matrix A.  If UPLO = 'U', the leading N-by-N upper
  83.              triangular part of the array A contains the upper triangular
  84.              matrix, and the strictly lower triangular part of A is not
  85.              referenced.  If UPLO = 'L', the leading N-by-N lower triangular
  86.              part of the array A contains the lower triangular matrix, and the
  87.              strictly upper triangular part of A is not referenced.  If DIAG =
  88.              'U', the diagonal elements of A are also not referenced and are
  89.              assumed to be 1.
  90.  
  91.      LDA     (input) INTEGER
  92.              The leading dimension of the array A.  LDA >= max(1,N).
  93.  
  94.      RCOND   (output) DOUBLE PRECISION
  95.              The reciprocal of the condition number of the matrix A, computed
  96.              as RCOND = 1/(norm(A) * norm(inv(A))).
  97.  
  98.      WORK    (workspace) COMPLEX*16 array, dimension (2*N)
  99.  
  100.      RWORK   (workspace) DOUBLE PRECISION array, dimension (N)
  101.  
  102.      INFO    (output) INTEGER
  103.              = 0:  successful exit
  104.              < 0:  if INFO = -i, the i-th argument had an illegal value
  105.  
  106. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  107.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  108.  
  109.      This man page is available only online.
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.